package pl.edu.pw.stud.ltrzaska.mvc.view;

import java.io.File;

import javax.swing.filechooser.FileFilter;

public class DirFilter extends FileFilter {

	@Override
	public boolean accept(File inFile) {
		if(inFile.isDirectory()) {
			return true;
		}
		return false;
	}

	@Override
	public String getDescription() {
		return "wybierz katalog";
	}

}
